package au.edu.swin.swinvehicle.manager;

/**
 * ManagerClient tranfer object. This is the detailed information of manager.
 * @version 1.0
 * @author Dany Gunawan
 * @lastmodify 2009-05-12
 */
public class ManagerDetailedTO {

    private Long id;
    private String name;
    private String comment;

    /** Creates a new instance of CorporateClientDetailedTO */
    public ManagerDetailedTO(Long id, String name, String comment) throws ManagerManagerException {
        try {
            this.id = id;
            this.setComment(comment);
            this.setName(name);
        } catch (Exception e) {
            throw new ManagerManagerException("Cannot instantiate new ManagerDetailedTO object", e);
        }
    }

    public Long getId() {
        return id;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        try {
            this.comment = comment;
        } catch (Exception e) {
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        try {
            this.name = name;
        } catch (Exception e) {
        }
    }
}
